<?php

namespace App\B2BProject\Custom\Business;

use Illuminate\Database\Eloquent\Model;

class OrderSpecification extends Model
{
    public function order()
    {
        return $this->belongsTo('App\B2BProject\Custom\Business\Order', 'order_id', 'id');
    }

    public function goods()
    {
        return $this->belongsTo('App\B2BProject\Custom\Business\Goods', 'goods_id', 'id');
    }
}
